home *** CD-ROM | disk | FTP | other *** search
/ CD ROM Paradise Collection 4 / CD ROM Paradise Collection 4 1995 Nov.iso / program / pxbud.zip / PXBUD.DOC < prev    next >
Text File  |  1991-05-17  |  3KB  |  60 lines

  1.  
  2.                          Welcome to PX_Buddy++
  3.  
  4.                         Written by Rick Kligman
  5.  
  6.  
  7. PX_Buddy++ will provide you with a C++ interface to the Paradox Engine.
  8. PX_Buddy++ is a specialized type of classlib. It assumes that you will
  9. know the structure of your tables during the development phase. If your
  10. tables are created at runtime or you wish to access tables which have
  11. not been predefined with .h & .cpp files during development, you will
  12. probably have a difficult time using this product.
  13.  
  14. If you know what your tables look like though in development (which I
  15. find to be the case almost all the time), you will find PX_Buddy++ a
  16. great aid.
  17.  
  18. I have included the source code for PX_Buddy++ so you can make any kind of
  19. changes that you want. It will also help document PX_Buddy++ since I'm
  20. not the greatest doc writer in the world.
  21.  
  22. I will give you a sample program that illustrates the basic flow of a
  23. PX_Buddy++ program from the syntactical standpoint. Withe the source
  24. and this program, I hope you'll be able to figure out how to use
  25. PX_Buddy++.
  26.  
  27. There are a couple of things that I do that helps ease development.
  28.  
  29. First is I put all my PX_Buddy++ source code and .lib in a directory
  30. called \PXBUD. I then, in the IDE and Turboc.cfg, make sure that the
  31. include and lib directories point there. This way you never have to
  32. explictly path any of the headers for pdxtbl.h or pdxfld.h.
  33.  
  34. Second, I use a program you will find included called PXGEN. What this
  35. program does is generate a .H & .CPP file for each Paradox table in
  36. your program. The reason for this program is that it will read all the
  37. fields in the table and generate the appropriate files to initialize
  38. each table using PX_Buddy++. It's a big time saver. Just look at the
  39. sample CUST.CPP & .H to see all that it generates!
  40.  
  41. Third, I use an error function called pdxerr(). The prototype for this
  42. function is in error.h and a small explaination is in PXBUD.CPP.
  43.  
  44.  
  45. In order to make PX_Buddy++, run the .bat file START. This will
  46. compile up all the files and make the .lib (hopefully). I'm going to
  47. assume that you have Borland C++ and use BCC. If you have Turbo C++
  48. then go into START.BAT and change the BCC's to TCC's.
  49.  
  50. PX_Buddy++ is put out in the Public Domain and may be freely circulated
  51. w/o charge as long as you circulate it in it's original .zip format
  52. with all files intact. It is put out for the purpose of helping Engine
  53. programmer's acheive greater ease of programming and less buggy
  54. programs.  Enjoy it and please pass any comments on the product to me.
  55.  
  56. Rick Kligman
  57.   72220,1131   CompuServe
  58.   rkligman     BIX
  59.  
  60.